projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191f65f
)
Reset RUSTFLAGS when running tests
author
Seo Sanghyeon
<sanxiyn@gmail.com>
Mon, 25 Apr 2016 13:58:09 +0000
(22:58 +0900)
committer
Seo Sanghyeon
<sanxiyn@gmail.com>
Mon, 25 Apr 2016 13:58:09 +0000
(22:58 +0900)
tests/tests.rs
patch
|
blob
|
history
diff --git
a/tests/tests.rs
b/tests/tests.rs
index 6c9c0eba8641c409d5c9e388f4009e659302fae3..c41cb9b3c25e444a015e7d1416e787e50ca1547c 100644
(file)
--- a/
tests/tests.rs
+++ b/
tests/tests.rs
@@
-95,6
+95,7
@@
fn process<T: AsRef<OsStr>>(t: T) -> cargo::util::ProcessBuilder {
.env("HOME", &support::paths::home())
.env_remove("CARGO_HOME")
.env_remove("RUSTC")
+ .env_remove("RUSTFLAGS")
.env_remove("XDG_CONFIG_HOME") // see #2345
.env("GIT_CONFIG_NOSYSTEM", "1") // keep trying to sandbox ourselves
.env_remove("CARGO_TARGET_DIR") // we assume 'target'